import mockRequests from "@/api/mockRequest.js";

export const reqUserList = () => {
    return mockRequests("/user");
}

export const deleteUser = (params) => {
    return mockRequests({url:"/deleteuser", method:"post", data:params});
}

export const searchUser2 = (params) => {
    //console.log(params)
    return mockRequests({url:`/searchuser/${params.name}/${params.line}/${params.area}/${params.start}/${params.end}`, method:"get", data:params});
}

export const getUserById = (id) => {
    return mockRequests({url:`/getuserbyid/${id}`, method:"get", data:id});
}






